﻿@model SGIMail.Models.ImportViewModel
@{
    ViewBag.Title = "Import";
}

<h2>Import</h2>

<div>

    @using(Html.BeginForm("Import", "Event", FormMethod.Post, new { enctype = "multipart/form-data" }))
    {
        @Html.DropDownListFor(m => m.EventId, Model.EventSelectList)
        <input type="file" name="file" />
        <input type="submit" value="submit" />
        @Html.DisplayFor(m => m.ErrorMessage)
    }

</div>